<script type="text/ng-template" id="disallow_dialog">
    <div class="modal-header">
        <h4 class="modal-title">批注</h4>
    </div>
    <div class="modal-body">
        <div class="row">
            <div class="col-xs-12">
                <textarea class="form-control" style="min-height:160px;resize:vertical;" maxlength="255" placeholder="限255个字" ng-model="closeReason"></textarea>
            </div>
        </div>
        <div class="row">
            <div class="col-xs-12">
                <div class="alert alert-warning space10">
                    <span class="text-danger">注意:</span> 请填写驳回意见
                </div>
            </div>
        </div>
    </div>
    <div>
        <div class="modal-footer">
            <div class="col-xs-12">
                <button class="btn btn-save btn-warning" ng-disabled="bSubmitDisabled" ng-click="disallowOrder(order, closeReason)">驳回</button>
                <button class="btn btn-save" ng-disabled="bSubmitDisabled" ng-click="closeDialog()">取消</button>
            </div>
        </div>
    </div>
</script>